import 'package:library_base/entities/generated/json/base/json_field.dart';
import 'package:library_base/entities/generated/json/task_detail_child_child_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class TaskDetailChildChildEntity {
  late String goodsPurchaseCode;
  late double weight;
  late double serviceCost;

  TaskDetailChildChildEntity();

  factory TaskDetailChildChildEntity.fromJson(Map<String, dynamic> json) =>
      $TaskDetailChildChildEntityFromJson(json);

  Map<String, dynamic> toJson() => $TaskDetailChildChildEntityToJson(this);

  @override
  String toString() => json.encode(this);
}
